package com.detection.dahua.model.video.realTimePreview;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 封装实时拉流请求
 */
@Data
@ApiModel("封装实时拉流请求")
public class HlsUrlRequest {

    private Data data;

    @lombok.Data
    public static class Data {
        @ApiModelProperty("通道ID")
        private String channelId;

        @ApiModelProperty("码流类型：1=主码流, 2=辅码流，3=辅码流2")
        private String streamType;

        @ApiModelProperty("协议类型")
        private String type;

    }

}
